package com.example.annotion;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/*
 * @Author Mr.T
 * @Description  用于保证接口幂等性注解
 * @Date  2025/5/11
 **/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Idempotent {

    //定义对应的token名称
    String tokenName() default "token";

}
